﻿using System.Security;

namespace Co9320.NamaAlert.Extension.Model
{
    class TestSetting :ISetting
    {
        #region ISetting メンバ
        public string FromMailAddress
        {
            get;
            set;
        }

        public SecureString SmtpPassword
        {
            get;
            set;
        }

        public int SmtpPort
        {
            get;
            set;
        }

        public string SmtpServer
        {
            get;
            set;
        }

        public bool SmtpUseAuth
        {
            get { return (SmtpUserName != "" && SmtpPassword.Length != 0); }
        }

        public string SmtpUserName
        {
            get;
            set;
        }

        public bool SmtpUseSsl
        {
            get;
            set;
        }

        public string TextEncoding
        {
            get;
            set;
        }

        public string ToMailAddress
        {
            get;
            set;
        }
        #endregion
    }
}
